Q3Group_CountObjectsOfType
You can use theQ3Group_CountObjectsOfType
function to determine how many objects of a particular type a group contains.
TQ3Status Q3Group_CountObjectsOfType ( TQ3GroupObject group, TQ3ObjectType isType, unsigned long *nObjects);
group
- A group.
isType
- An object type.
nObjects
- On exit, a pointer to the number of objects in the specified group that have the specified type.
DESCRIPTION
TheQ3Group_CountObjectsOfType
function returns, in thenObjects
parameter, the number of objects contained in the group specified by thegroup
parameter that have the object type specified by theisType
parameter. The object type can be either a parent class (for example,kQ3SharedType_Shape
) or a leaf class (for example,EcGeometryType_Box
).ERRORS
kQ3ErrorInvalidObject
kQ3ErrorNULLParameter